While not an actual terminal, the run dialog uses several features
that are terminal-like:
- tab completion
- history navigation
- keybindings with modifiers (ctrl+return)
It therefore makes some sense to use the TERMINAL in purpose
(although the dialog itself isn't reachable in a pure touch
environment).
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4312>
(cherry picked from commit
3ab39b9c90eb4da09c7cc5704b0830b6adcec655)
const entry = new St.Entry({
style_class: 'run-dialog-entry',
+ input_purpose: Clutter.InputContentPurpose.TERMINAL,
labelActor,
can_focus: true,
});